package com.wHitE.service.impl;

import com.wHitE.dao.AddBookDao;
import com.wHitE.dao.impl.AddBookDaoImpl;
import com.wHitE.service.AddBookService;

public class AddBookServiceImpl implements AddBookService {
    private AddBookDaoImpl addBookDao = new AddBookDaoImpl();

    @Override
    public String addBook(String name, double price, int quantity, String coverImg, String author, String uploader) {
        return addBookDao.addBook(name, price, quantity, coverImg, author, uploader);
    }
}
